﻿package{	import flash.display.*;	import flash.events.*;	import flash.net.URLRequest;	import flash.text.*;		import mvc.SlideshowModel;	import mvc.SlideshowView;	import mvc.SlideshowTextView;	import mvc.SlideshowController;		public class SlideshowDocument extends MovieClip	{		public var slideModel:SlideshowModel;		public var slideView:SlideshowView;		public var textView:SlideshowTextView;		public var slideController:SlideshowController;				public function SlideshowDocument()		{			slideView = new SlideshowView(container_mc);			textView = new SlideshowTextView(title_txt,right_mc.numbers_txt);			slideModel = new SlideshowModel();			slideController = new SlideshowController(slideModel);			slideView.model = slideModel;			textView.model = slideModel;			slideModel.load(new URLRequest("data.xml"));			slideController.addNextButton(right_mc.next_btn);			slideController.addNextButton(container_mc);			slideController.addPrevButton(right_mc.prev_btn);		}	}}